package com.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.bean.ZjMusic;
import com.bean.other.MetaInfo;
import com.bean.realation.MusicCollect;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ZjMusicService {

    String addMusicFromApi(ZjMusic zjMusic);

    ZjMusic randomMusic(String userid);

    JSONObject musicStatus(ZjMusic zjMusic);

    String collect(ZjMusic zjMusic);

    List<ZjMusic> checkMusic(ZjMusic zjMusic);

    PageInfo<ZjMusic> select(ZjMusic zjMusic, MetaInfo metaInfo);

    String delZjMusic(String id);

    PageInfo<ZjMusic> listSelfMusic(ZjMusic zjMusic, MetaInfo metaInfo);

    String delSelfMusic(MusicCollect musicCollect);

}
